package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/8/27 0027.
 */

public class StoreCustomclass_Info {


    @Override
    public String toString() {
        return "StoreCustomclass_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data.toString() +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":20,"name":"男科用药","icon":"/upload/class/icon_nankeyy@3x.png"},{"id":21,"name":"妇科用药","icon":"/upload/class/icon_fukeyy@3x.png"},{"id":24,"name":"养生花茶","icon":"/upload/class/icon_yshc@3x.png"},{"id":25,"name":"儿科用药","icon":"/upload/class/icon_ekyy@3x.png"},{"id":26,"name":"个人护理","icon":"/upload/class/icon_grhl@3x.png"},{"id":27,"name":"皮肤用药","icon":"/upload/class/icon_pfyy@3x.png"},{"id":28,"name":"成人用品","icon":"/upload/class/icon_cryp@3x.png"},{"id":29,"name":"医疗器械","icon":"/upload/class/icon_ylqx@3x.png"},{"id":30,"name":"传统滋补","icon":"/upload/class/icon_ctzb@3x.png"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", icon='" + icon + '\'' +
                    '}';
        }

        /**
         * id : 20
         * name : 男科用药
         * icon : /upload/class/icon_nankeyy@3x.png
         */


        private int id;
        private String name;
        private String icon;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }
    }
}
